package com.hyhy.hycloud.uaa.client;

import com.hyhy.hycloud.commons.exception.HyCloudRuntimeException;

/**
 * 未授权异常
 *
 * @author Xuegui Yuan
 * @date 2018-09-25
 */
public class UnauthorizedException extends HyCloudRuntimeException {
    private static final String ERROR_CODE = "UAA004";

    public UnauthorizedException() {
        super(ERROR_CODE, "User unauthorized");
    }

    public UnauthorizedException(String message) {
        super(ERROR_CODE, message);
    }
}
